package com.belizer.demo.function;

import java.util.HashMap;
import java.util.Map;

public class Demo {
    public static void main(String[] args) {
        Map<String,Object> map = new HashMap<>();
        map.put("1","zhangsan");

        //在main方法内实现DemoFunction.demo()
        DemoFunction demoFunction = (str, obj) -> 1;


        int i = demoFunction.demo("1",map.get("1"));

        System.out.println(i);


    }
}
